From 360e21004f3038449e4f2afd41c71528af5d6023 Mon Sep 17 00:00:00 2001 From: parkrrrr Date: Tue, 11 Apr 2006 14:47:51 +0000 Subject: [PATCH] flush NMEA output file before pausing; makes named pipes much happier --- gpsbabel/nmea.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gpsbabel/nmea.c b/gpsbabel/nmea.c index 976b07c0a..058544eba 100644 --- a/gpsbabel/nmea.c +++ b/gpsbabel/nmea.c @@ -769,6 +769,7 @@ nmea_trackpt_pr(const waypoint *wpt) time_t ymd; if ( opt_sleep ) { + fflush( file_out ); if ( last_time > 0 ) { if ( sleepus >= 0 ) { gb_sleep( sleepus ); -- 2.30.2